const apiConfig = {
  auth: {
    // 获取短信验证码
    getSmsCode: "/getSmsCode",
    // 手机号登录
    login: "/mobilelogin/login"
  },
  user: {
    // 获取用户信息
    getUserInfo: "/wxlogin/getUserInfo"
  },
  appointment: {
    // 添加预约
    addAppointment: "/appointment/addAppointment",
    // 获取预约列表
    getAppointmentList: "/appointment/getAppointmentList",
    // 获取预约详情
    getAppointmentDetail: "/appointment/getAppointmentDetail",
    // 专家审核预约
    updateAppointment: "/appointment/mobileUpdateAppoint"
  },
  professor: {
    // 权限确认
    getPermissionConfirm: "/professor/roleConfirm",
    // 通过名称查询获取专家列表
    getProfessorNameList: "/professor/getProfessorNameList",
    // 获取前三的专家列表
    getProfessorTop3List: "professor/getProfessorTop3List",
    // 获取前十的专家列表
    getProfessorTop10List: "/professor/getProfessorTop10List"
  }
};

const customApiConfig = {
  auth: {
    // 获取短信验证码
    getSmsCode: "/auth/user/getSmsCode",
    // 手机号登录
    login: "/auth/user/login",
    // 退出登录
    logout: "/auth/user/logout",
    // 专家权限确认
    getPermissionConfirm: "/auth/user/confirm"
  },
  professor: {
    // 获取前几的专家列表
    getProfessorTopList: "/professor/user/getTopList",
    // 通过名称查询获取专家列表
    getProfessorNameList: "/professor/user/getListByName",
    // 通过名称查询获取简化专家列表
    getProfessorNameListSimple: "/professor/user/getSimpleListByName"
  },
  appointment: {
    // 获取预约列表
    getAppointmentList: "/appointment/user/getList",
    // 获取预约详情
    getAppointmentDetail: "/appointment/user/getDetail",
    // 更新预约审核数据
    updateAppointment: "/appointment/user/updateStatus",
    // 新增预约
    addAppointment: "/appointment/user/add"
  }

};

export { apiConfig, customApiConfig };

